package test1224;

public class Test03 {
    public static void main(String[] args) {
        // 统计有arr中多少个偶数
        int[] arr = {6, 1, 7, 4, 3};
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] % 2 == 0) {
                System.out.println(arr[i]);
            }
        }
    }
}
